<?php
/*
    Authors and license
*/

include_once(dirname(__FILE__).'/../../libraries/security.php');
include_once(dirname(__FILE__).'/message_sql.php');

if(isset($_SESSION['logged'])) // user logged in?
{
	$id = $_SESSION['id']; // grab user id to sql querry		
	
	$message = clear($_GET['message']);
	
	echo $message;	
}
//  if user is not logged in nothing realy should be done. Just no efect.
?>